package app

import "api/libs/register"

func init() {
	sys := register.NewModel("sys", "系统", 9).AddSons(
		register.NewModel("sys_auth__core", "权限模块", 1).SetIcon("").
			SetIndex("/v1/auth/User/list").SetEntry("/admin_core/index.html"),
	)
	register.AddModel(sys)

	srv := register.NewModel("srv", "服务", 10).AddSons(
		register.NewModel("srv_ctl__core", "服务管理", 1).SetIcon("").
			SetIndex("/v1/ctl/AppHost/list").SetEntry("/admin_core/index.html"),
	)
	register.AddModel(srv)
}
